﻿using PMS.XCMG.Entity;
using PMS.XCMG.Models;
using PMS.XCMG.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PMS.XCMG.IBusiness
{
    public interface ISys_UserRoleBusiness : IBaseRepository<Sys_UserRole>
    {
        Task<PageResult<Sys_UserRole>> GetPageResultAsync(PageInput<Sys_UserRoleQM> query);
        Task<int> AddAsync(string userId, List<string> roleIds);
        Task<int> DeleteAsync(string userId, List<string> roleIds);
    }
}
